<?phpclass Model_Category extends Zend_Db_Table_Abstract{	protected $_name='categories';		public function createCategory(){		}	public function fetchCategories(){		return $this->fetchAll();	}	public function approveLinkInCategory($category_id){		$row=$this->find($category_id)->current();		if($row){			$row->active_count=$row->active_count+1;			$row->inactive_count=$row->inactive_count-1;			$row->save();			return true;		}else{			return false;		}	}	public function addNewLinkToCategory($category_id){		$row=$this->find($category_id)->current();		if($row){			$row->inactive_count=$row->inactive_count+1;			$row->save();			return true;		}else{			return false;		}			}}?>